package com.zhaokuner.parentstarter.ctrladaptor;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.HashMap;

/**
 * 类描述:lenovo.domain
 *
 * @author 赵希坤 zhaoxikun
 * @date 2020/12/19 11:27
 */
@Data
@ConfigurationProperties(prefix = "lenovo")
public class CtrlAdaptorDomainProperties {
    private HashMap<String, Domain> domain = new HashMap<>(8);

    @Data
    public static class Domain {
        /**
         * domain url
         */
        private String url;
        /**
         * 名称
         */
        private String name;
        /**
         * 版本
         */
        private String version;
    }

}